Skip to content

ReactiveBinding class

Attributes: [DebuggerDisplay("{ViewModelExpression}, {View}")]

Defined in

Namespace: ReactiveUI Assembly: ReactiveUI.Core.dll Full name: ReactiveUI.ReactiveBinding<T1, T2> Modifiers: public

Summary

View source

Represents an active binding between a view and a view model property, tracking direction and change notifications.

Applies to

net10.0, net10.0-maccatalyst26.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-tvos26.0, net10.0-windows10.0.19041, net10.0-macos26.0, net10.0-ios26.0, net10.0-android36.0, net9.0, net9.0-tvos18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-windows10.0.19041, net9.0-ios18.0, net9.0-desktop1.0, net8.0, net8.0-windows10.0.19041, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.5, netstandard2.1, net481, net462, net471

Class hierarchy
classDiagram
class ReactiveBinding~T1,T2~
class IReactiveBinding~TView, TValue~ {
    <>
}
IReactiveBinding~TView, TValue~ <|.. ReactiveBinding~T1,T2~
class IDisposable {
    <>
}
IDisposable <|.. ReactiveBinding~T1,T2~

Implements: IReactiveBinding, IDisposable

Constructors

NameSummary
.ctorRepresents an active binding between a view and a view model property, tracking direction and change notifications.

Properties

NameSummary
ViewModelExpressionGets an expression representing the property on the ViewModel bound to the view. This can be a child property, for example x.Foo.Bar.Baz in which case that will be the...
ViewGets the instance of the view this binding is applied to.
ViewExpressionGets an expression representing the property on the view bound to the ViewModel. This can be a child property, for example x.Foo.Bar.Baz in which case that will be the...
ChangedGets an observable representing changed values for the binding.
DirectionGets the direction of the binding.

Methods

NameSummary
Dispose
Inherited members